home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / fonts-faq / part8 < prev    next >
Encoding:
Internet Message Format  |  1993-06-21  |  7.5 KB

  1. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!noc.near.net!nic.umass.edu!ymir.cs.umass.edu!ymir.cs.umass.edu!usenet
  2. From: walsh@cs.umass.edu (Norman Walsh)
  3. Newsgroups: comp.fonts,comp.answers,news.answers
  4. Subject: comp.fonts FAQ.6.Sun-Info
  5. Followup-To: poster
  6. Date: 21 Jun 1993 13:19:16 GMT
  7. Organization: Dept of Comp and Info Sci, Univ of Mass (Amherst)
  8. Lines: 160
  9. Approved: news-answers-request@MIT.Edu
  10. Distribution: world
  11. Expires: 21 Jul 93 09:21:06 GMT
  12. Message-ID: <fonts-faq-8-740668866@cs.umass.edu>
  13. References: <fonts-faq-1-740668866@cs.umass.edu>
  14. Reply-To: walsh@cs.umass.edu (Norman Walsh)
  15. NNTP-Posting-Host: ibis.cs.umass.edu
  16. Summary: This posting answers frequently asked questions about fonts.
  17.          It addresses both general font questions and questions that
  18.      are specific to a particular platform.
  19. Xref: senator-bedfellow.mit.edu comp.fonts:9146 comp.answers:1074 news.answers:9623
  20.  
  21. Posted-By: auto-faq 2.4
  22. Archive-name: fonts-faq/part8
  23. Version: 1.4.1
  24.  
  25. Subject: Chapter 6 
  26.  
  27.     Sun Information
  28.  
  29. Subject: 6.1. Please help! 
  30.  
  31.     Someone mailed a file of Sun-related font tips. Unfortunately, I
  32.     cannot find the file. If you have any suggestion for this section
  33.     (or if you are the person that mailed me the other list), please
  34.     forward your suggestions to norm.
  35.  
  36. Subject: 6.2. Fonts Under Open Windows 
  37.  
  38.     The following information regarding fonts under Open Windows was
  39.     stolen from Liam R.E. Quim's <lee@sq.com> Open Windows FAQ. The
  40.     original author was Rick Heli <Rick.Heli@Eng.Sun.COM>.
  41.  
  42. Subject: 6.3. Does OpenWindows support Type 1 PostScript fonts? 
  43.  
  44.     Type 1 fonts are supported starting with the NeWSprint 2.0 and
  45.     Solaris 2.0 (OpenWindows 3.0.1) releases.
  46.  
  47.     There are also 57 F3 format fonts supplied with OpenWindows which
  48.     are fully hinted. Documentation on the F3 font format and the F3
  49.     font interpreter, TypeScaler, is available from Sun.
  50.  
  51.     The TypeScaler product is separately licensable from SunPics (the
  52.     printing arm of Sun Microsystems). If you're interested in
  53.     licensing this product, Rick Heli can put you in touch with
  54.     Marketing to work out the arrangements. TypeScaler does not appear
  55.     as a standalone portion of OpenWindows, though it is resident
  56.     within the X11/NeWS server.
  57.  
  58. Subject: 6.4. Improving font rendering time 
  59.  
  60.     Although the Sun type renderer (TypeScaler) is pretty fast, it's
  61.     not as fast as loading a bitmap. You can pre-generate bitmap fonts
  62.     for sizes that you use a lot, and you can also alter and access the
  63.     font cache parameters. If you have a lot of memory you might want
  64.     to increase the font cache size.
  65.  
  66.       $ psh -i
  67.       Welcome to X11/NeWS Version3 <--- psh will say this at you
  68.       currentfontmem =    % type this line ...
  69.       300 % and here's what my server was using -- 300 Kbytes
  70.       1024 setfontmem
  71.       % Just to check:
  72.       currentfontmem =
  73.       1024
  74.  
  75.     See pp. 328ff of the NeWS 3.0 Programmer's Guide. You need to say
  76.     psh -i so that the PostScript packages are loaded - see the psh man
  77.     page.
  78.  
  79. Subject: 6.5. Making bitmap fonts for faster startup 
  80.  
  81.     Sun supports the F3 scalable outline format. These descriptions are
  82.     stored in .f3b files. The makeafb program is used to create a
  83.     bitmap font at a particular size which is stored in a .afb file,
  84.     which is an Adobe ASCII format for font bitmaps. X11/NeWS really
  85.     prefers a binary format though for speed and other reasons, so
  86.     convertfont is used to "compile" the font into a font binary or .fb
  87.     file.
  88.  
  89.     Once this is done, X11/NeWS needs to understand the relationship
  90.     between the .f3b file and all the bitmaps which are based on it.
  91.     Thus, the bldfamily program makes these correlations and stores the
  92.     data in the font family or .ff file.
  93.  
  94.     bldfamily also builds a global list of all fonts stored in the
  95.     working directory, writing the results out to the file
  96.     Families.list. If one wishes to create font aliases, these can be
  97.     added to the Synonyms.list file by hand and bldfamily will then add
  98.     them to Families.list for you. X11/NeWS uses Families.list to
  99.     construct the font list it advertises to applications.
  100.  
  101.     To go from F3 to BDF, use makeafb to generate a bitmap font in .afb
  102.     format. Then use one of convertfont's many options to change to
  103.     this to .bdf format and from there it should be clear.
  104.  
  105.     $ mkdir $HOME/myfonts
  106.     $ cd $HOME/myfonts
  107.     $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  108.     Creating Bembo20.afb
  109.     $ convertfont -b Bembo20.afb
  110.     Bembo20.afb->./Bembo20.fb
  111.     Chars parameter greater than number of characters supplied.
  112.     $ ls
  113.     Bembo20.afb   Bembo20.fb      Synonyms.list
  114.     $ bldfamily
  115.     * Bembo                      ./Bembo.ff (Encoding: latin)
  116.     cat: ./Compat.list: No such file or directory
  117.     $ xset +fp `pwd`
  118.     $ xset fp rehash
  119.  
  120.     If you want the server to see your new font directory every time,
  121.     add this directory to your FONTPATH environment variable in one of
  122.     your start-up files, e.g. .login or .profile.
  123.  
  124. Subject: 6.6. Converting between font formats (convertfont, etc.) 
  125.  
  126.     You can also use F3 fonts with an X11 server, by converting them to
  127.     a bitmap (X11 bdf format) first. Your license restricts use of
  128.     these fonts on another machine, and unless you have NeWSPrint you
  129.     shouldn't use them for printing. Having said all that... you can
  130.     use makeafb and convertfont to generate bdf files that you can
  131.     compile with bdftosnf or bdftopcf.
  132.  
  133.     Use mftobdf (from the SeeTeX distribution) to convert TeX pk fonts
  134.     to X11 bdf format, which you can then use with either X11 or
  135.     OenWindows.
  136.  
  137. Subject: 6.7. Xview/OLIT fonts at 100 dpi 
  138.  
  139.     There aren't any. More precisely, the various text fonts, such as
  140.     Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  141.     scalable under OpenWindows. The glyph fonts are bitmaps, and don't
  142.     scale very well.
  143.  
  144. Subject: 6.8. Where can I order F3 fonts for NeWSprint and OpenWindows? 
  145.  
  146.     600 F3 fonts are available for unlocking from Printer's Palette, a
  147.     CD available with NeWSprint 2.0.
  148.  
  149.     In addition, F3 fonts are available from the following sources:
  150.  
  151.     Linotype AG                     Linotype Company
  152.     Mergenthaler Allee 55-75        425 Oser Avenue
  153.     6236 Eschborn Germany           Hauppague, NY  11788
  154.     49/(61 96) 4031                      (800) 336-0045
  155.     FAX 011/49/6196-982185          FAX 516-434-2055
  156.     attn: F3 Font Production        attn: F3 Font Production
  157.  
  158.     Monotype Plc.                   Monotype Typography
  159.     Salfords Redhill RH1 5JP        53 W. Jackson Boulevard Suite 504
  160.     England                         Chicago, IL  60604
  161.     44/(737) 765959                 (800) 666-6893
  162.     FAX 011/44/737-769243           FAX (312) 939-0378
  163.     attn: F3 Font Production        attn: F3 Font Production
  164.  
  165.     U R W                           U R W
  166.     Harksheider Strasse 102         One Tara Boulevard Suite 210
  167.     D2000 Hamburg Germany           Nashua, NH  03062
  168.     49/(40) 606050                  (603) 882-7445
  169.     49/(40) 60605148                (603) 882-7210
  170.     attn: F3 Font Production        attn: F3 Font Production
  171.  
  172.     Bigelow & Holmes                Autologic
  173.     P. O. Box 1299                  1050 Rancho Conejo Boulevard
  174.     Menlo Park, CA  94026           Newbury Park, CA  91320
  175.     415/326-8973                    (800)235-1843, or (805)498-9611 in CA
  176.     FAX (415) 326-8065              FAX (805) 499-1167
  177.     attn: F3 Font Production        attn: F3 Font Production
  178.  
  179.  
  180.  
  181.